﻿
Partial Class Admin_DocTechniqueForm
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack AndAlso Not Request.QueryString("doctechnique_id") Is Nothing AndAlso Request.QueryString("doctechnique_id").ToString <> "" Then
            Me.FormViewDocTech.ChangeMode(FormViewMode.Edit)
        End If
    End Sub

    Protected Sub FormViewDocTech_ItemDeleted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewDeletedEventArgs) Handles FormViewDocTech.ItemDeleted
        Response.Redirect("DocTechnique.aspx")
    End Sub

    Protected Sub FormViewDocTech_ItemInserted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewInsertedEventArgs) Handles FormViewDocTech.ItemInserted
        Response.Redirect("DocTechnique.aspx")
    End Sub

    Protected Sub FormViewDocTech_ItemUpdated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewUpdatedEventArgs) Handles FormViewDocTech.ItemUpdated
        Response.Redirect("DocTechnique.aspx")
    End Sub
End Class
